
% record:
-record(todo, {status=reminder, who=joe, text}).

% creating a new record
% X = #todo{status=urgent, who=nom}.

% extracting values
% #todo{status=S,who=W} = X
% X#todo.status %% to get a single value